import request from '@/utils/request'//引入ajax
const api_name = '/admin/restoratives'
//查询所有药品信息 
export const findRestoratives = () => {
    return request({
        url: `${api_name}/findRestoratives`,
        method: 'get'
    })
}
//添加数据  
export const AddRestoratives = (rest) => {
    return request({
        url: `${api_name}/AddRestoratives`,
        method: 'post',
        data:rest
    })
}